<?php
class AdvertisingController extends Core\Api{
    public function listsAction() {
        $type = $this->post('type');
        $per_page = $this->post('per_page');
        $data = \Business\AdvertisingModel::lists($type,$per_page);
        $ret = $this->ok($data);
        return $this->json($ret);
    }
}

